package com.ues21.awt.model;

public class LoginServiceImpl implements IService{
	private User user;
	private String result="error";
	
	public void execute(){
		if(user.getUser().equals("root") && user.getPassword().equals("1111")){
			result = "ok";
		}
	}
	
	public Object getResult(){
		return result;
	}
	
	public void setUser(User u){
		user = u;
	}
}
